package com.smartcommunity.entity.facelib.sensenets2;

import lombok.Data;

@Data
public class SenseNets2FaceResponseResultItem {
    SenseNets2FaceParamImgRect rect;
    Double quality;
    Double confidence;
    String feat_float;
    String feat_int8;

    SenseNets2FaceResponseResultItemAttr attr;
    SenseNets2FaceResponseResultItemAttrConfidence attr_confidence;


    /**
     * 统一获取特征码的入口，方便后续变更
     * @return 具体被使用的特征码
     */
    public String takeFeature(){
        return this.feat_int8;
    }
}
